package star.cloud.asme.asmePerson.asmePersonTrain.asmePersonTrainInstrutor;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import jakarta.persistence.Entity;
import jakarta.persistence.Transient;
import lombok.*;
import star.cloud.asme.base.mybatis.IBaseEntity;
import star.cloud.asme.system.user.User;

@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@NoArgsConstructor(force = true)
@AllArgsConstructor
@Entity(name = "senpec_asme_person_train_instructor")
@TableName("senpec_asme_person_train_instructor")
public class AsmePersonTrainInstructor extends IBaseEntity<AsmePersonTrainInstructor> {
    private String method;
    private String certificationReference;
    private String username;
    private String attachmentUuid;
    private String attachmentUrl;
    @Transient
    @TableField(exist = false)
    private User user;
}
